package cn.itsource.mapper;
import cn.itsource.domain.BlogArticle;
import cn.itsource.query.BlogArticleQuery;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 文章顶级接口类(继承tk的Mapper接口，里面内置了单表的crud的方法)
 */
public interface ArticleMapper extends Mapper<BlogArticle> {
    List<BlogArticle> pageList(BlogArticleQuery query);
    List<BlogArticle> getBlogGdList(@Param("time") String time);
    List<BlogArticle> findType(Long id);
    List<BlogArticle> selectMyPageList(BlogArticleQuery query);


}
